package com.xxx.servlet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/8/4 14:09
 * @Copyright 博为峰
 */
public class ClaServlet extends HttpServlet {

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        final String method = req.getParameter("method");
        if(method.equals("addCla")){
            addCla(req,resp);
        }else if(method.equals("queryCla")){
            queryCla(req,resp);
        }
    }

    public void addCla(HttpServletRequest req, HttpServletResponse resp){}

    public void queryCla(HttpServletRequest req, HttpServletResponse resp){}
}
